package db;

import java.util.Date;

/**
 * AbstractBackmat entity provides the base persistence definition of the
 * Backmat entity. 
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractBackmat implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer bormatId;
	private Integer backreqId;
	private Integer reqNum;
	private Integer maNum;
	private Integer okNum;
	private Date date;
	private Integer state;
	private Backreq backreq;
	private Bormat bormat;

	// Constructors



	/** default constructor */
	public AbstractBackmat() {
	}

	/** full constructor */
	public AbstractBackmat(Integer bormatId, Integer backreqId, Integer reqNum,
			Integer maNum, Integer okNum, Date date, Integer state) {
		this.bormatId = bormatId;
		this.backreqId = backreqId;
		this.reqNum = reqNum;
		this.maNum = maNum;
		this.okNum = okNum;
		this.date = date;
		this.state = state;
	}

	// Property accessors
	public Bormat getBormat() {
		return bormat;
	}

	public void setBormat(Bormat bormat) {
		this.bormat = bormat;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getBormatId() {
		return this.bormatId;
	}

	public void setBormatId(Integer bormatId) {
		this.bormatId = bormatId;
	}

	public Integer getBackreqId() {
		return this.backreqId;
	}

	public void setBackreqId(Integer backreqId) {
		this.backreqId = backreqId;
	}

	public Integer getReqNum() {
		return this.reqNum;
	}

	public void setReqNum(Integer reqNum) {
		this.reqNum = reqNum;
	}

	public Integer getMaNum() {
		return this.maNum;
	}

	public void setMaNum(Integer maNum) {
		this.maNum = maNum;
	}

	public Integer getOkNum() {
		return this.okNum;
	}

	public void setOkNum(Integer okNum) {
		this.okNum = okNum;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Backreq getBackreq() {
		return backreq;
	}

	public void setBackreq(Backreq backreq) {
		this.backreq = backreq;
	}

}